using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameLoop : MonoBehaviour
{
    private SceneStateController mController = null;


    private void Awake()
    {
        DontDestroyOnLoad(this);
    }

    private void Start()
    {
        mController = new SceneStateController();
        mController.SetState(new StartScene(mController), false);
    }

    private void Update()
    {
        mController.StateUpdate();
    }
}